package com.wench.design.pattern.prototype.demo;

/**
 * @author wench
 */
public class RealiseType implements Cloneable {

    public RealiseType() {
        System.out.println("具体的原型对象创建完成！");
    }

    @Override
    public RealiseType clone() throws CloneNotSupportedException {
        System.out.println("具体原型复制成功！");
        return (RealiseType) super.clone();
    }
}
